find all points where the function is not differentiable